.mine {
  .ml-5 {
    margin-left: 10rpx;
  }

  .mt-17 {
    margin-top: 34rpx;
  }

  .ml-11 {
    margin-left: 22rpx;
  }

  .display-flex {
    display: flex
  }

  ;

  .mr-auto {
    margin-right: auto !important;
  }

  &.page {
    background-color: #f8f8f8;
    height: 100vh;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;

    .section {
      padding: 24rpx 28rpx 100rpx 28rpx;
      // border: 1rpx solid red;

      // background-image: linear-gradient(171.1deg, #1c2c60 0%, #1d2f65 -14.46%, #adb4c9 46.78%, #ea602d00 100%);

      .event-card {
        background: #fff;
        border-radius: 16rpx;
        margin: 0 24rpx 32rpx 24rpx;
        box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.03);
        overflow: hidden;
      }

      .event-img-wrap {
        position: relative;
        height: 400rpx;
        overflow: hidden;
        border-radius: 16rpx 16rpx 0 0;
        background-color: #f5f5f5; // 添加背景色，防止图片加载时出现空白
        
        // 添加加载状态
        // &::before {
        //   content: '';
        //   position: absolute;
        //   top: 50%;
        //   left: 50%;
        //   width: 40rpx;
        //   height: 40rpx;
        //   margin: -20rpx 0 0 -20rpx;
        //   border: 4rpx solid #e0e0e0;
        //   border-top: 4rpx solid #232f5b;
        //   border-radius: 50%;
        //   animation: spin 1s linear infinite;
        //   z-index: 1;
        // }
        
        // &.loaded::before {
        //   display: none;
        // }
      }

      .event-img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
        transition: transform 0.3s ease; // 添加过渡效果
        
        // 确保图片完全覆盖容器
        min-width: 100%;
        min-height: 100%;
        
        // 添加悬停效果
        &:hover {
          transform: scale(1.05);
        }
      }
      
      // 加载动画
      @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
      }

      .event-status {
        position: absolute;
        top: 16rpx;
        left: 16rpx;
        color: #fff;
        font-size: 22rpx;
        border-radius: 16rpx;
        padding: 4rpx 18rpx;
        display: flex;
        align-items: center;
        font-weight: bold;
        background: #232f5b;

        &.status-signup {
          background: #232f5b;
        }

        &.status-progress {
          background: #4caf50;
        }

        &.status-end {
          background: #e53935;
        }

        .status-icon {
          width: 28rpx;
          height: 28rpx;
          margin-right: 8rpx;
        }
      }

      .event-content {
        padding: 18rpx 18rpx 12rpx 18rpx;
      }

      .event-title {
        font-size: 30rpx;
        font-weight: bold;
        color: #232f5b;
        margin-bottom: 30rpx;
      }

      .event-info {
        font-size: 24rpx;
        color: #666;
        margin-bottom: 20rpx;
        display: flex;
        align-items: center;

        .info-icon {
          width: 28rpx;
          height: 28rpx;
          margin-right: 8rpx;
        }
      }
      
      .event-content-rich {
        margin-top: 20rpx;
        padding-top: 20rpx;
        border-top: 1rpx solid #f0f0f0;
        
        // 富文本内容样式
        .rich-text-view {
          line-height: 1.6;
          
          // 段落间距
          p {
            margin: 0 0 16rpx 0;
          }
          
          // 链接样式
          a {
            color: #007aff;
            text-decoration: none;
          }
          
          // 图片样式
          img {
            max-width: 100%;
            height: auto;
            margin: 16rpx 0;
            border-radius: 8rpx;
          }
        }
      }
      
      .test-rich-text {
        margin-top: 30rpx;
        padding: 20rpx;
        background-color: #f8f9fa;
        border-radius: 12rpx;
        border: 2rpx solid #e0e0e0;
        
        .test-title {
          font-size: 28rpx;
          font-weight: bold;
          color: #232f5b;
          margin-bottom: 16rpx;
          display: block;
        }
        
        .test-cases {
          margin-top: 20rpx;
          
          .test-subtitle {
            font-size: 24rpx;
            font-weight: bold;
            color: #666;
            margin-bottom: 12rpx;
            display: block;
          }
          
          .test-case {
            margin-bottom: 16rpx;
            padding: 12rpx;
            background-color: #fff;
            border-radius: 8rpx;
            border: 1rpx solid #e0e0e0;
          }
        }
      }


    }

    .movable-area {
      position: fixed;
      bottom: 0;
      right: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 100;
    }

    .fab-container {
      pointer-events: auto;
      width: 100rpx;
      height: 100rpx;
      background-color: transparent;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.2);
    }

    .fab-icon {
      width: 100%;
      height: 100%;
    }

    .text-wrapper {
      width: 90%;
      height: 90rpx;
      background-color: #1D428A;
      box-shadow: 0rpx 0rpx 18rpx 0rpx #ee73500a;
      border-radius: 22rpx;
      border: unset !important;
      // position: absolute;
      // bottom: 90rpx;
      // left: 50%;
      // transform: translate(-50%, 0);

      &::after {
        border: unset !important;
      }

      .text {
        color: #fff;
        font-size: 30rpx;
        font-family: 'PingFang SC';
        line-height: 90rpx;
      }
    }
  }
}